#!/bin/sh -x
rm ./a.out

echo "call graph"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-cgraph test.c 

echo "call graph callee"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-cgraph-callee test.c 

echo "call graph caller"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-cgraph-caller test.c 

echo "passes"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-passes test.c 

echo "gimple-hierarachy"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-gimple-hierarchy test.c 

echo "tree-hierarachy"
/home/gold/mygcc/bin/gcc -fplugin=../gml4gtk-plugin/.libs/gml4gtk_plugin.so -fplugin-arg-gml4gtk_plugin-tree-hierarchy test.c 


rm ./a.out
